
<div class="module clearfix">
	
	</div>
	<div>

			<div class="panel-body">
<?php
				if($this->session->flashdata('message'))
				{
					$msg = $this->session->flashdata('message');
					echo  $this->session->flashdata('message');
				}
				?>
				<?php if($post_id && $mem_id && $facilities){?>
				
				<div class="col-xs-9 clearfix">
					
					
					<form class="form-horizontal" method="POST" enctype="multipart/form-data"
						action="<?= base_url();?>member/business/upload_logo">
						<input type="hidden"
					name="<?php echo $this->security->get_csrf_token_name(); ?>"
					value="<?php echo $this->security->get_csrf_hash();?>" />
						
							
						<div class="form-group">
							<div class="col-sm-5">
							 
								<input type="file" name="userfile" value="Browse" />
							</div>
							
				</div>
			
				<div class="form-group">
							<div class="col-sm-7 col-sm-9">
							<input type="hidden" name="post_id" id="post_id" value="<?= $post_id;?>">
								<button type="submit" name="upload" class="btn btn-info">Save & Continue</button>
								
								<?php if($logo == 'no-logo.png'){?>
								<a href="<?= base_url();?>member/business/photo/<?= $post_id;?>" class="btn btn-warning">Skip</a>
								<?php }?>
								<?php if($logo != 'no-logo.png'){?>
								<a href="<?= base_url();?>member/business/photo/<?= $post_id;?>" class="btn btn-success">Next</a>
							<?php }?>
							
							</div>
							<div class="pull-right col-lg-3">
							<img class="img-responsive" src="<?= base_url();?>assets/img/data/logo/<?= $logo;?>" > 	</div>
							</div>
				</form>
				</div>
				
<?php }else{?>
				
				<div class="col-sm-12 alert alert-danger">Oops! You are not allowed to upload logo...</div>
				<a href="<?= base_url();?>member/business/photo/<?= $post_id;?>"class="btn btn-warning">Skip</a>
								
								<?php }?>
			</div>
			</div>
			
		       
